AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 345
Dependencies 35
Dependents 0
Total lines 2,076
Lines of code 1,384
Logical lines of code 680
Comment lines 283
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
8
105 284
updateAppointmentAndCache()
D
6
82 472
processPayment()
D
24
37 169
getBookingInformationForPaymentSettings()
B
36 23 75
getPaymentsData()
B
38 21 59
getAvailablePayments()
B
45 20 42
calculateAppointmentPrice()
B
36 15 84
hasRelatedRefundablePayment()
A
53 8 23
updateCache()
S
47 6 36
delete()
S
46 5 43
isAllowedOnSitePaymentMethod()
S
59 6 13
setPaymentsTransfers()
S
55 5 20
getFullStatus()
S
54 3 24
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3